<template>
  <div>
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item v-for="(item, index) in data" :key="index">
        <van-image fit="contain" :src="item"/>
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  name: 'Banner',
  props: ['data']
}
</script>

<style lang='less' scoped>

</style>